home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / bc_ti.zip / TI703.ASC < prev    next >
Text File  |  1992-02-25  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Borland C++                            NUMBER  :  703
  9.   VERSION  :  All
  10.        OS  :  DOS
  11.      DATE  :  February 25, 1992                        PAGE  :  1/1
  12.  
  13.     TITLE  :  "Automatic Data Segment Exceeds 64K" at Link Time
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.   The Automatic Data Segment (ADS) consists of the DGROUP data
  23.   segment, the size of the local heap and the size of the stack.
  24.   The size of the local heap and stack are controlled by the
  25.   HEAPSIZE and STACKSIZE keywords in the module definition file
  26.   (.def file).  The size of the DGROUP, however, is controlled by
  27.   the amount of static initialized and uninitialized data.  To see
  28.   where all the space in DGROUP is going, use a detailed segment
  29.   map (TLINK's /s option or BCC's -ls option) and look in the
  30.   detailed segment section for all segments and modules
  31.   contributing to DGROUP.  (They will be marked "G=DGROUP.")
  32.  
  33.   To resolve such errors, you will need to reduce stack size and/or
  34.   heap size allocations in the application DEF file, make some data
  35.   far or reduce your near data usage.
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.